/**
 * 组件注册文件
 */

import Form from './Form.vue';
import Table from './Table.vue';
import Dialog from './Dialog.vue';
import DF from './DF.vue';
import { App } from 'vue';

/**
 * 注册组件
 * @param app 
 */
const register = (app: App) => {
    [Form, Table, Dialog, DF].forEach(item => {
        app.component(item.name, item);
    });
}

export default register;